let config = {
    "SERVER_URL":"http://localhost:8083/api/",
    "SERVER_IMG_URL":"http://localhost:8080/",
    "SUCCESS":200,
    "X_TOKEN":"token",
    "X_AUTH":"x-auth",
    "X_IDEMPOTENCE":"x-idempotence"
}

function getParam(paramName) {
    // paramName id
    // paramstr ?id=9&age=100&price=10
    let paramstr = location.search;
    // ["id=9","age=100","price=10"]
    let v_paramArr = paramstr.substring(1).split("&");
    for (let v_param of v_paramArr) {
        // ["id", "9"]
        let v_info = v_param.split("=");
        let v_paramName = v_info[0];
        let v_paramValue = v_info[1];
        if (v_paramName == paramName) {
            return v_paramValue;
        }
    }
    return "";
}